package com.distributer.gateway.enums;

/**
 * 负载均衡类型
 * @author xiaolin
 *
 */
public enum RoteType {

	ROBIN(10,"轮询"),RANDOM(20,"随机"),HASH(30,"hash");
	
	int code;
	
	String detail;

	private RoteType(Integer code, String detail) {
		this.code = code;
		this.detail = detail;
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getDetail() {
		return detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}
	
}
